import { request } from "@/utils/request";


export const getChannels = () => {
    return request.get('/channels')
}

export const publishArticle = (data) => {
    return request.post('/mp/articles?draft=false', data)
}